Adwaita: shave 1px from the switch
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 20 May 2016 13:28:58 +0000 (15:28 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 20 May 2016 13:28:58 +0000 (15:28 +0200)
make the switch height and width 1px smaller.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index ee73853a8f67325bdfc469a621e94989a67367fe..62fc4350c89b219fa2e490daf6d7530036d12b90 100644 (file)
@@ -2519,8 +2519,8 @@ switch {
 
   slider {
     margin: -1px;
-    min-width: 45px;
-    min-height: 27px;
+    min-width: 44px;
+    min-height: 26px;
     border: 1px solid;
     border-radius: 3px;
     transition: $button_transition;
index 11a444daf8af4b01738f3efd835725edd089c1fa..6b1abdcbdd66c84abfb30a2386e2014ac72d207e 100644 (file)
@@ -2754,8 +2754,8 @@ switch {
       background-color: #2d3234; }
   switch slider {
     margin: -1px;
-    min-width: 45px;
-    min-height: 27px;
+    min-width: 44px;
+    min-height: 26px;
     border: 1px solid;
     border-radius: 3px;
     transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
index 1c0bcb114e446b93ccfc91f6db14e9fdb97e91d7..2dbcc6101efa3671e2865b8f5550128676796d16 100644 (file)
@@ -2768,8 +2768,8 @@ switch {
       background-color: #f1f1f1; }
   switch slider {
     margin: -1px;
-    min-width: 45px;
-    min-height: 27px;
+    min-width: 44px;
+    min-height: 26px;
     border: 1px solid;
     border-radius: 3px;
     transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);